package sch.frog.creational.builderpattern.product.B;

import sch.frog.creational.builderpattern.product.IPartOne;
import sch.frog.creational.builderpattern.product.IPartTwo;

public class BPartTwo implements IPartTwo {
    private final BPartOne bPartOne;

    public BPartTwo(BPartOne bPartOne){
        this.bPartOne = bPartOne;
    }

    @Override
    public void two() {

    }

    @Override
    public IPartOne getPartOne() {
        return this.bPartOne;
    }
}
